//
//  BlePedoSetModel.h
//  HBSDKPro
//
//  Created by LRB_C on 2020/8/17.
//  Copyright © 2020 林瑞彬. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BlePedoSetModel : NSObject

@property(assign,nonatomic) UInt8 unit;//单位制(0:公制;1:英制)
@property(assign,nonatomic) UInt8 height; //身高 (单位:50-250cm/20-100inch)
@property(assign,nonatomic) UInt16 weight;//体重 (单位:30.0-250.0Kg/60.0-500.0Pd)
@property(assign,nonatomic) UInt8 targetType;//目标类型 1:卡路里(目标值0-59999Kcal)2:距离(目标值0-99km/mile) 3:步数(目标值0-99999) 4:时间(目标值0-600Minute)
@property(assign,nonatomic) UInt32 targetValue;//目标值
@property(assign,nonatomic) UInt8 age;//年龄
@property(assign,nonatomic) UInt8 gender;//性别 (0-男;1-女)
@property(assign,nonatomic) UInt8 hrmInterval;//心率自动检测间隔时间,单位 分钟: 0或1-240

/**
 将蓝牙返回的data转化为模型，app端设置参数请直接使用 init
 */
-(instancetype)initWithOneSetParamData:(NSData*)data;
@end

